package nf.traversal;

import nf.graph.Graph;
import java.util.Collections;

public class RandomizedFairPairwiseTraverser extends FairPairwiseTraverser
{
	public RandomizedFairPairwiseTraverser(Graph network)
	{
		super(network);
		Collections.shuffle(nodes);
	}
	
	public static class Factory implements TraverserFactory
	{
		public Traverser createTraverser(Graph network)
		{
			return new RandomizedFairPairwiseTraverser(network);
		}
	}
}
